<?php
/*  lamp-shade_0.1
 *  License: GNU GPL v3
 *  File: ./modules/html/style.php
 *  Last Mod.:  02/11/11 by Werner
 *  Authors:    Werner Roets
 *              Frank Adrian
 *  Description:
 *  This class defines a lampshade style object
 *  used to add css styles.
 */
 require_once("html_component.php"); 
 
 class Style extends Html_component
 {
    public $Css_location;
    
    public function __construct($css_location)
    {
	$this->Css_location = $css_location;
    }
    
    public function GenerateHtml()
    {
	$this->Html =  '
	    <link type="text/css" rel="stylesheet" media="all" href="' . $this->Css_location . '" />'; 
    }
 }

?>